package com.hww.doc.business.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.hww.doc.persistence.beans.DocBooks;
import com.hww.doc.persistence.beans.DocItemsets;

public class Books {
	
	private DocBooks docBooks;

	public Books() {
		this.docBooks = new DocBooks();
	}

	public Books(DocBooks docBooks) {
		this.docBooks = docBooks;
	}

	@JsonIgnore
	public DocBooks getDocBooks() {
		return this.docBooks;
	}

	public Long getId() {
		return docBooks.getId();
	}

	public void setId(Long id) {
		this.docBooks.setId(id);
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
	public Date getCreateTime() {
		return this.docBooks.getCreateTime();
	}

	public void setCreateTime(Date createTime) {
		this.docBooks.setCreateTime(createTime);
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
	public Date getUpdateTime() {
		return this.docBooks.getUpdateTime();
	}

	public void setUpdateTime(Date updateTime) {
		this.docBooks.setUpdateTime(updateTime);
	}

	public String getBookName() {
		return this.docBooks.getBookName();
	}

	public void setBookName(String bookName) {
		this.docBooks.setBookName(bookName);
	}

	public Integer getItemId() {
		return this.docBooks.getItemId();
	}

	public void setItemId(Integer itemId) {
		this.docBooks.setItemId(itemId);
	}

	public String getIdentify() {
		return this.docBooks.getIdentify();
	}

	public void setIdentify(String identify) {
		this.docBooks.setIdentify(identify);
	}

	public Integer getAutoRelease() {
		return this.docBooks.getAutoRelease();
	}

	public void setAutoRelease(Integer autoRelease) {
		this.docBooks.setAutoRelease(autoRelease);
	}

	public Integer getIsDownload() {
		return this.docBooks.getIsDownload();
	}

	public void setIsDownload(Integer isDownload) {
		this.docBooks.setIsDownload(isDownload);
	}

	public Integer getOrderIndex() {
		return this.docBooks.getOrderIndex();
	}

	public void setOrderIndex(Integer orderIndex) {
		this.docBooks.setOrderIndex(orderIndex);
	}

	public String getDescription() {
		return this.docBooks.getDescription();
	}

	public void setDescription(String description) {
		this.docBooks.setDescription(description);
	}

	public String getPublisher() {
		return this.docBooks.getPublisher();
	}

	public void setPublisher(String publisher) {
		this.docBooks.setPublisher(publisher);
	}

	public String getLabel() {
		return this.docBooks.getLabel();
	}

	public void setLabel(String label) {
		this.docBooks.setLabel(label);
	}

	public Integer getPrivatelyOwned() {
		return this.docBooks.getPrivatelyOwned();
	}

	public void setPrivatelyOwned(Integer privatelyOwned) {
		this.docBooks.setPrivatelyOwned(privatelyOwned);
	}

	public String getPrivateToken() {
		return this.docBooks.getPrivateToken();
	}

	public void setPrivateToken(String privateToken) {
		this.docBooks.setPrivateToken(privateToken);
	}

	public String getBookPassword() {
		return this.docBooks.getBookPassword();
	}

	public void setBookPassword(String bookPassword) {
		this.docBooks.setBookPassword(bookPassword);
	}

	public Integer getStatus() {
		return this.docBooks.getStatus();
	}

	public void setStatus(Integer status) {
		this.docBooks.setStatus(status);
	}

	public String getEditor() {
		return this.docBooks.getEditor();
	}

	public void setEditor(String editor) {
		this.docBooks.setEditor(editor);
	}

	public Integer getDocCount() {
		return this.docBooks.getDocCount();
	}

	public void setDocCount(Integer docCount) {
		this.docBooks.setDocCount(docCount);
	}

	public String getCommentStatus() {
		return this.docBooks.getCommentStatus();
	}

	public void setCommentStatus(String commentStatus) {
		this.docBooks.setCommentStatus(commentStatus);
	}

	public Integer getCommentCount() {
		return this.docBooks.getCommentCount();
	}

	public void setCommentCount(Integer commentCount) {
		this.docBooks.setCommentCount(commentCount);
	}

	public String getCover() {
		return this.docBooks.getCover();
	}

	public void setCover(String cover) {
		this.docBooks.setCover(cover);
	}

	public String getTheme() {
		return this.docBooks.getTheme();
	}

	public void setTheme(String theme) {
		this.docBooks.setTheme(theme);
	}

	public Integer getHistoryCount() {
		return this.docBooks.getHistoryCount();
	}

	public void setHistoryCount(Integer historyCount) {
		this.docBooks.setHistoryCount(historyCount);
	}

	public Integer getIsEnableShare() {
		return this.docBooks.getIsEnableShare();
	}

	public void setIsEnableShare(Integer isEnableShare) {
		this.docBooks.setIsEnableShare(isEnableShare);
	}

	public Integer getMemberId() {
		return this.docBooks.getMemberId();
	}

	public void setMemberId(Integer memberId) {
		this.docBooks.setMemberId(memberId);
	}

	public Long getVersion() {
		return this.docBooks.getVersion();
	}

	public void setVersion(Long version) {
		this.docBooks.setVersion(version);
	}

	public Integer getIsUseFirstDocument() {
		return this.docBooks.getIsUseFirstDocument();
	}

	public void setIsUseFirstDocument(Integer isUseFirstDocument) {
		this.docBooks.setIsUseFirstDocument(isUseFirstDocument);
	}

	public Integer getAutoSave() {
		return this.docBooks.getAutoSave();
	}

	public void setAutoSave(Integer autoSave) {
		this.docBooks.setAutoSave(autoSave);
	}
	
}
